package com.pingan.haofang.searchcloud.index.dto;

import com.pingan.haofang.searchcloud.metadata.dto.MetadataFieldDTO;

import java.util.List;

/**
 * 索引DTO
 *
 * @author baojie371
 * @date 17/5/5
 * @since 1.0.0
 */
public class IndexInfoDTO {

    /**
     * 索引基本信息
     */
    private IndexDTO basicInfo;

    /**
     * 索引字段信息
     */
    private List<MetadataFieldDTO> fields;

    public IndexDTO getBasicInfo() {
        return basicInfo;
    }

    public void setBasicInfo(IndexDTO basicInfo) {
        this.basicInfo = basicInfo;
    }

    public List<MetadataFieldDTO> getFields() {
        return fields;
    }

    public void setFields(List<MetadataFieldDTO> fields) {
        this.fields = fields;
    }
}
